package org.jeecg.modules.hotel.belongToSkd.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @Description: 标准计费信息表
 * @Author: 11025
 * @Date:   2021-07-14
 * @Version: V1.0
 */
@Data
@TableName("third_standard")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="third_standard对象", description="标准计费信息表")
public class ThirdStandard implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;
	/**商户号*/
	@Excel(name = "商户号", width = 15)
    @ApiModelProperty(value = "商户号")
    private Integer merId;
	/**人员编号*/
	@Excel(name = "人员编号", width = 15)
    @ApiModelProperty(value = "人员编号")
    private String personnelNo;
	/**人员姓名*/
	@Excel(name = "人员姓名", width = 15)
    @ApiModelProperty(value = "人员姓名")
    private String personnelName;
	/**计费分类编码*/
	@Excel(name = "计费分类编码", width = 15)
    @ApiModelProperty(value = "计费分类编码")
    private String standardTypeNo;
	/**计费标准编码*/
	@Excel(name = "计费标准编码", width = 15)
    @ApiModelProperty(value = "计费标准编码")
    private String standardNo;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private BigDecimal transCount;
	/**绑定日期*/
    @TableField(updateStrategy = FieldStrategy.IGNORED)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "绑定日期")
    private Date useDate;
    /**周期类别*/
    @Excel(name = "周期类别", width = 15)
    @ApiModelProperty(value = "周期类别")
    private String periodType;
    /**起始年份*/
    @Excel(name = "起始年份", width = 15)
    @ApiModelProperty(value = "起始年份")
    private String periodYear;
    /**起始周期序号*/
    @Excel(name = "起始周期序号", width = 15)
    @ApiModelProperty(value = "起始周期序号")
    private String periodSort;
    /**缴费年份*/
    @Excel(name = "缴费年份", width = 15)
    @ApiModelProperty(value = "缴费年份")
    private String feesPeriodYear;
	/**缴费周期序号*/
    @Excel(name = "缴费周期序号", width = 15)
    @ApiModelProperty(value = "缴费周期序号")
    private String feesPeriodSort;
    /**创建时间*/
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;
    /**更新时间*/
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date lastUpdatedTime;

    /**学历*/
    @Excel(name = "缴费周期序号", width = 15)
    @ApiModelProperty(value = "学历")
    private String educationalBackground;
}
